import { $rp } from '@/utils/constants';
import FeedbackIndex from '@/components/feedback-v2/index';
import FeedbackCreate from '@/components/feedback-v2/create';
import FeedbackShow from '@/components/feedback-v2/show';

export default [
  {
    path: `/${$rp.FEEDBACK}`,
    name: FeedbackIndex.name,
    component: FeedbackIndex,
    meta: { requireAuth: true },
  },
  {
    path: `/${$rp.FEEDBACK}/${$rp.CREATE}`,
    name: FeedbackCreate.name,
    component: FeedbackCreate,
    meta: { requireAuth: true },
  },
  {
    path: `/${$rp.FEEDBACK}/:feedbackId`,
    name: FeedbackShow.name,
    component: FeedbackShow,
    meta: { requireAuth: true },
  },
];
